[Webkit-unassigned] [Bug 69680] Dir attribute is converted into direction property when merging paragraphs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 11 12:20:58 PDT 2011


--- Comment #5 from Ryosuke Niwa <rniwa at webkit.org>  2011-10-11 12:20:58 PST ---
(In reply to comment #3)
> Whatever you do, I do not think it should be a special case for directionality. That is, you should not come up with different element structures for two cases that only differ in elements having or not having a dir attribute. Probably the best way to think about it is to change the case to have a text-align style (which, by definition, is a block-level style) where it currently has a dir attribute and work backwards from there. So, what would you do for <div style="text-align:center">hello [world<p>WebKit</p>]</div>?

That's a good approach. We don't preserve text-align in this case so we should probably do the same for directionality. Thanks for your help!

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