[Webkit-unassigned] [Bug 231491] Implement parsing support for offset-distance, offset-position, offset-anchor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 11 11:35:21 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=231491
Simon Fraser (smfr) <simon.fraser at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #440736|review? |review+
Flags| |
--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 440736
--> https://bugs.webkit.org/attachment.cgi?id=440736
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=440736&action=review
Looks like you need to rebase more tests.
> Source/WebCore/ChangeLog:8
> + No new tests; WPT parsing tests are sufficient.
If bits of this patch are from external contributors, you should acknowledge them here.
> Source/WebCore/css/CSSComputedStyleDeclaration.cpp:3180
> + case CSSPropertyObjectPosition:
> + return valueForPosition(style, style.objectPosition());
> + case CSSPropertyOffsetDistance:
> + return cssValuePool.createValue(style.offsetDistance(), style);
> + case CSSPropertyOffsetPosition:
> + return valueForPositionOrAuto(style, style.offsetPosition());
> + case CSSPropertyOffsetAnchor:
> + return valueForPositionOrAuto(style, style.offsetAnchor());
You can also use your helper for CSSPropertyPerspectiveOrigin, maybe others.
--
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/20211011/6728745e/attachment.htm>
More information about the webkit-unassigned
mailing list