Summary: | [testcase] [CSS 2.1 Conformance] rgb() should take either three integer values or three percentage values but not mixed | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Gérard Talbot (no longer involved) <browserbugs2> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | germain |
Priority: | NOR | ||
Version: | 4.2.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Gérard Talbot (no longer involved)
2009-05-21 00:17:11 UTC
The CSS validator will also report parsing errors for the 4 respective declarations. 1 p#numnumpercent Value Error : color This number should be an integer. ) 2 p#percentnumnum Value Error : color 0 is an incorrect percentage ) 3 p#percentpercentnum Value Error : color 0 is an incorrect percentage ) 4 p#percentnumpercent Value Error : color 0 is an incorrect percentage ) regards, Gérard This bug still occurs, occurs as well in Konqueror 4.2.3 regards, Gérard (fixed in my tree, waiting commit) The testcase mentioned in the description has been submitted to become part of the CSS 2.1 Conformance test suite: RGB color syntax error handling (test for validity) http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/color-000.htm regards, Gérard SVN commit 971234 by ggarand: don't allow mix of percents and integers in functional-style colour declarations since it is explicitely disallowed by CSS 2.1 BUG: 193434 M +5 -3 cssparser.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=971234 SVN commit 971651 by ggarand: automatically merged revision 971234: don't allow mix of percents and integers in functional-style colour declarations since it is explicitely disallowed by CSS 2.1 BUG: 193434 M +5 -3 cssparser.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=971651 I get expected results with Konqueror 4.2.4. Marking as VERIFIED regards, Gérard |