You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging a styled element, I sometimes look at styleInfo to show the origin of the rule being matched.
I noticed that the line numbers were sometimes off by a few lines, which is confusing.
After reproducing I figured that the line counts were incorrect because they seem to ignore empty lines.
Here is a repro case:
linenumbers-in-styleinfo.css
While debugging a styled element, I sometimes look at
styleInfo
to show the origin of the rule being matched.I noticed that the line numbers were sometimes off by a few lines, which is confusing.
After reproducing I figured that the line counts were incorrect because they seem to ignore empty lines.
Here is a repro case:
linenumbers-in-styleinfo.css
app.qml
Notice how the .title rule is said to be coming from line 6 when it actually comes from line 31
The text was updated successfully, but these errors were encountered: