[Webkit-unassigned] [Bug 238555] New: HTMLElement.innerText should return the content of a clipped box
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 30 08:58:18 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=238555
Bug ID: 238555
Summary: HTMLElement.innerText should return the content of a
clipped box
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zalan at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 456128
--> https://bugs.webkit.org/attachment.cgi?id=456128&action=review
test case
I think we fail at interpreting "being rendered" properly.
https://html.spec.whatwg.org/multipage/dom.html#the-innertext-idl-attribute says that innerText returns a DOMString representing the rendered text content of an element if it is being rendered.
while "An element is being rendered if it has any associated CSS layout boxes, SVG layout boxes, or some equivalent in other styling languages" (https://html.spec.whatwg.org/multipage/rendering.html#being-rendered)
So I would think clipped content is still considered "being rendered" as we compute geometry/create box for such content.
--
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/20220330/54b0c5a5/attachment-0001.htm>
More information about the webkit-unassigned
mailing list