This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22313 - unicode-range is incorrectly formatted
Summary: unicode-range is incorrectly formatted
Status: NEW
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://www.plam.cantech.bg
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-08 20:03 UTC by Chris Adams
Modified: 2015-02-16 00:38 UTC (History)
1 user (show)

See Also:


Attachments

Description Chris Adams 2013-06-08 20:03:54 UTC
With a font declaration which uses unicode-range with more than a single value, the displayed font format will repeat the first value n times rather than displaying the subsequent values:


@font-face {
  font-family: "Noto Sans";
  src: local("NotoSansArmenian"), local("Noto Sans Armenian"), url(NotoSansArmenian-Regular.woff) format("woff");
  unicode-range: U+530-58F, U+FB13-FB17;
}

the validation report will display:

Valid CSS information
@font-face {
font-family : '"Noto Sans"';
src : local("NotoSansArmenian"), local("Noto Sans Armenian"), url(NotoSansArmenian-Regular.woff) format("woff");
unicode-range : U+530-58F, U+530-58F;
}

It also appears that the font-family declaration is incorrectly double-quoted.