[Webkit-unassigned] [Bug 74976] Element still flowed below parent after changing from block to inline-block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 21 14:06:31 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=74976


Joel Micah Donovan <jmdragonwake at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdragonwake at gmail.com




--- Comment #8 from Joel Micah Donovan <jmdragonwake at gmail.com>  2012-02-21 14:06:26 PST ---
I've reduced this problem to a more general one.  For any parent element with style display "inline", if a child's display property changes from "block" to "inline" or "inline-block", the position of the child does not change accordingly.  This even happens if the child is not actually a block-level element by default.  It reproduces in WebKit browsers but not Firefox or Opera.

If the child's display property starts out "inline", then changes to "block", and then changes back to "inline", its position does not revert to its initial position.

I'm attaching a very short reproduction to get the point across.

-- 
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