Skip to content

Commit d0b6870

Browse files
committed
Add fr relative size unit
defined in the CSS3 Grid Layout Module http://www.w3.org/TR/css3-grid-layout/#fr-unit
1 parent 7c30973 commit d0b6870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sabberworm/CSS/Value/Size.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class Size extends PrimitiveValue {
66

77
const ABSOLUTE_SIZE_UNITS = 'px/cm/mm/mozmm/in/pt/pc/vh/vw/vm/vmin/vmax/rem'; //vh/vw/vm(ax)/vmin/rem are absolute insofar as they don’t scale to the immediate parent (only the viewport)
8-
const RELATIVE_SIZE_UNITS = '%/em/ex/ch';
8+
const RELATIVE_SIZE_UNITS = '%/em/ex/ch/fr';
99
const NON_SIZE_UNITS = 'deg/grad/rad/s/ms/turns/Hz/kHz';
1010

1111
private $fSize;

0 commit comments

Comments
 (0)