Update web-platform-tests to revision 3d117ae1266e6bd039a3a1ab92b27e82c3ccc92d

This commit is contained in:
WPT Sync Bot 2018-09-23 21:29:48 -04:00
parent 647796ede6
commit 20a08918d9
132 changed files with 3012 additions and 689 deletions

View file

@ -13,6 +13,8 @@ registerLayout('test', class {
'--available-block-size',
'--fixed-inline-size',
'--fixed-block-size',
'--percentage-inline-size',
'--percentage-block-size',
'--inline-size-expected',
'--block-size-expected'
];
@ -26,11 +28,15 @@ registerLayout('test', class {
const availableBlockSize = parseNumber(child.styleMap.get('--available-block-size'));
const fixedInlineSize = parseNumber(child.styleMap.get('--fixed-inline-size'));
const fixedBlockSize = parseNumber(child.styleMap.get('--fixed-block-size'));
const percentageInlineSize = parseNumber(child.styleMap.get('--percentage-inline-size'));
const percentageBlockSize = parseNumber(child.styleMap.get('--percentage-block-size'));
return child.layoutNextFragment({
availableInlineSize,
availableBlockSize,
fixedInlineSize,
fixedBlockSize
fixedBlockSize,
percentageInlineSize,
percentageBlockSize,
});
});