diff options
author | mhodovan.u-szeged@partner.samsung.com <mhodovan.u-szeged@partner.samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | 2014-06-27 18:55:46 +0000 |
---|---|---|
committer | Konstantin Tokarev <annulen@yandex.ru> | 2016-09-27 07:16:55 +0000 |
commit | 502b4a55ac778d036a33c32fec51eecbbc73e1a9 (patch) | |
tree | 00830cefb6ea678fe11d27a7e1ed54d9e4117dd9 /Source/WebKit/English.lproj/WebJavaScriptTextInputPanel.nib/keyedobjects.nib | |
parent | ac20ee9ffda40fd1c1714ec3a000bbf27c3eee33 (diff) | |
download | qtwebkit-502b4a55ac778d036a33c32fec51eecbbc73e1a9.tar.gz |
REGRESSION (r168685): css calc() expression fails
https://bugs.webkit.org/show_bug.cgi?id=134059
Source/WebCore:
The expression 'calc((100% - 20px) / 3' did not work properly after r168685,
because primitiveType() function in CSSCalculationValue.cpp has handled
CalcPercentLength and CalcPercentNumber categories as if they were angles.
The patch fixes this incorrect behavior.
Reviewed by Simon Fraser.
Test: fast/css/calc-percentage-pixel.html
* css/CSSCalculationValue.cpp:
LayoutTests:
Added test demonstrates that expressions like
'calc((100% - 20px) / 3' work correctly again.
Reviewed by Simon Fraser.
* fast/css/calc-percentage-pixel-expected.html: Added.
* fast/css/calc-percentage-pixel.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Change-Id: I2cebbb43b511c8c3634c55a97598d362ae0a1ab3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'Source/WebKit/English.lproj/WebJavaScriptTextInputPanel.nib/keyedobjects.nib')
0 files changed, 0 insertions, 0 deletions