Descriptionhttp://code.google.com/p/google-caja/issues/detail?q=1105
This partly addresses issue 1105
Disallowed property values:
font: x-small;
font: 100%;
font: arial;
by coercing these to, respectively,
font-size: x-small;
font-size: 100%;
font-family: arial;
It takes care not to coerce things like
font: inherit // Illegal, but has a clear meaning
font: caption // Legal
It does coerce some typos, and gives an error message at the
right place, but possibly misleading since
font: waption
is coerced to
font-family: "waption"
instead of being reported with a bad property value message.
font:waption is probably treated as an unknown font-name by most
browsers, and previously we would not report a bad value message
for the equally widgy
font: 12px waption
See the added testcases for details.
Submitted @3713
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 2
|
|||||||||||||||||||||||||||||||||||||