[Webkit-unassigned] [Bug 29720] Inspecting a <p> beneath a <dl> includes the <dl> in the highlighted block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 2 10:46:00 PDT 2009


Patrick Mueller <pmuellr at yahoo.com> changed:

           What    |Removed                     |Added
                 CC|                            |pmuellr at yahoo.com

--- Comment #1 from Patrick Mueller <pmuellr at yahoo.com>  2009-10-02 10:46:00 PDT ---
Reproduce-able with the test case - thanks!

More oddities.

- selecting a <dl> element only selects the first definition
- selecting a <dl> element, looking at the metrics, shows height=0
- selecting a <p> element, looking at the metrics, seems to show a height that
also includes the <dl>

So, in some sense, the metrics and selected elements seem to be pretty close to
each other, despite being wrong.

Now, rename the reference.css file included to x-reference.css and reload.

voila!  everything seems to work as expected!

The .css doesn't have any really weird stuff in it, like <p>'s and <dl>'s with
crazy settings for height/top/bottom/etc.  However, the <dt> and <dd> are both
assigned a float: left.  Which is definitely odd.  

Rename the .css file back to reference.css, but change float:left for dd and dt
to x-float (so they will be ignored).  Reload.  

voila! everything seems to work as expected!

I think what's happening is the <p> is getting the height of the dt/dd's,
because they are floating and it's the next thing in line to be formatted.

At this point, I'm willing to declare - WORKSFORME

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list