[Webkit-unassigned] [Bug 244657] New: border-image-* returns the initial keyword instead of the initial value when setting border-image shorthand
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 31 21:57:35 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=244657
Bug ID: 244657
Summary: border-image-* returns the initial keyword instead of
the initial value when setting border-image shorthand
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
URL: http://wpt.live/css/css-backgrounds/parsing/border-ima
ge-shorthand.sub.html
OS: Unspecified
Status: NEW
Keywords: BrowserCompat
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: karlcow at apple.com
CC: webkit-bug-importer at group.apple.com
Enter:
data:text/html,<div%20style="border-image:%20initial">
Then
document.getElementsByTagName('div')[0].style.borderImageOutset
returns initial instead of 0
and so on the other properties.
document.getElementsByTagName('div')[0].style.borderImageRepeat
returns initial instead of stretch
etc.
see the tests in http://wpt.live/css/css-backgrounds/parsing/border-image-shorthand.sub.html
and
https://searchfox.org/wubkat/rev/482480f60b1f8c26dfe99b670a5fe677abb0fcd8/Source/WebCore/css/parser/CSSPropertyParser.cpp#5645-5677
https://searchfox.org/wubkat/search?q=symbol:_ZN7WebCore12CSSValuePool26createImplicitInitialValueEv&redirect=false
--
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/20220901/4157a5c4/attachment.htm>
More information about the webkit-unassigned
mailing list