[Webkit-unassigned] [Bug 19770] New: Background-position declaration involves requirements when at least one value is not a keyword
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 25 11:30:37 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=19770
Summary: Background-position declaration involves requirements
when at least one value is not a keyword
Product: WebKit
Version: 525.x (Safari 3.1)
Platform: PC
URL: http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/back
ground-position-test1.html
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: browserbugs at gtalbot.org
CSS 2.1, section 14.2.1 background-position
http://www.w3.org/TR/CSS21/colors.html#propdef-background-position
states
"If at least one value is not a keyword, then the first value represents the
horizontal position and the second represents the vertical position."
The order of the 2 values in the declaration for background-position matters
decisively when at least one value is not a keyword. The W3C CSS validator will
report a parsing error when the correct order is not respected.
Steps to reproduce
------------------
1a) Load provided URL
1b) Load
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/background-position-test2.html
Expected results
----------------
1a) A green box with a background-image saying "Your browser PASSED this test"
1b) The white box inside the green box is located at top left corner
Actual results in Safari 3.1.2 build 525.21
-------------------------------------------
1a) A red box with a background-image saying "Your browser FAILED this test"
1b) The white box inside the green box is located at bottom right corner
Additional info, references, notes:
-----------------------------------
The W3C CSS validator will report
1a) "values are not recognized" due to mismatched values
1b) "[values] are incompatible" due to mismatched values
2-
https://bugzilla.mozilla.org/show_bug.cgi?id=422790
http://samples.msdn.microsoft.com/csstestpages/Chapter_14/background-position-042.htm
http://samples.msdn.microsoft.com/csstestpages/Chapter_14/background-position-045.htm
http://samples.msdn.microsoft.com/csstestpages/Chapter_14/background-position-046.htm
Those tests are invalid. (Already mentioned on public-css-testsuite.)
{ <meta name="assert" content="Verify bottom is valid declaration for
first input of background-position." />
}
same goes for:
background-position: bottom 50%;
background-position: 50% left;
background-position: 50% right;
I searched for a duplicate and did not find any.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list