[Webkit-unassigned] [Bug 238549] InspectorCSSAgent::getSupportedCSSProperties() should use a real CSS parser context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 09:24:48 PDT 2022


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

Patrick Angle <pangle at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pangle at apple.com

--- Comment #1 from Patrick Angle <pangle at apple.com> ---
If bug 217802 takes Devin's suggestion to keep a `Page& m_inspectedPage` in `InspectorCSSAgent`, I think we should be able to do something along the lines of `CSSParserContext(m_inspectedPage->mainFrame().document())` (with appropriate checks to fall back to the strict context if the page or document is missing) to get a parsing context for the main document.

-- 
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/fcfbf740/attachment-0001.htm>


More information about the webkit-unassigned mailing list