I'm having some minor problems tracking down the source of CSS rules using
the Mozilla DevTools.

I click to inspect a section in the rendered page. The Inspector panel's
Rules tab shows me the correct selector, but next to that it says
"inline:13".

This is a little confusing because there are no inline styles. Then I
discover that by "inline" it just means a style section in the HTML
document's head. So anything that isn't in a separate stylesheet is
"inline" now? Not the way I use that term...

A worse problem is the number "13". I look around and find the CSS rule on
line 35 of my document. So why "13"?

It turns out that the DevTools uses its own line-numbering system -- if you
ask to see CSS, it starts numbering from the beginning of the CSS section,
not the top of the document. It treats the first line of the head's CSS
section is "line 1", and so on. But that doesn't help me find anything,
because actually (according to my text editor) that's line 35 of my
document, not line 1. Is this a bug, or just the DevTools being stupid? I
don't remember having a problem like this in Firebug...

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to firebug+unsubscr...@googlegroups.com.
To post to this group, send email to firebug@googlegroups.com.
Visit this group at https://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/CAMoMLKjVxTgsZparhg8L1q-SmADTx%2B6SJ-3qr3i1Eb%3DCpVvt7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to