[Webkit-unassigned] [Bug 277862] [Text Directionality] Fix directionality for shadow tree
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 9 12:33:00 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=277862
--- Comment #2 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
Created attachment 472104
--> https://bugs.webkit.org/attachment.cgi?id=472104&action=review
test case
I am attaching a test case. It contains two host <div> elements. Both hosts have <p> elements with Arabic text and undefined dir property. We insert a `<slot dir="auto"></slot>` in the shadow tree of the first <div> host. This will add the first child of this host as a slotted element to `<slot>` element which is the <p> element.
According to the specs if the dir property is "undefined": Return the parent directionality of element.
So I am not sure what the parent of the first <p> should be.
Should it be its host <div> which also has undefined dir property?
Or should it be the <slot> element which has dir="auto"?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240809/78bf4ce7/attachment.htm>
More information about the webkit-unassigned
mailing list