summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-available-width-absolute-crash-expected.txt
diff options
context:
space:
mode:
authorkojii <kojii@chromium.org>2015-11-01 23:49:00 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-02 07:49:47 +0000
commitb907c9c34c99ed5445d2f94a8ef4a2fbc85808f6 (patch)
tree65625a3771efcc56f36e7828f6ca6816b6953714 /third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-available-width-absolute-crash-expected.txt
parent79e5c356b8571b04a90bbfddfc8be0965e1af416 (diff)
downloadchromium_src-b907c9c34c99ed5445d2f94a8ef4a2fbc85808f6.zip
chromium_src-b907c9c34c99ed5445d2f94a8ef4a2fbc85808f6.tar.gz
chromium_src-b907c9c34c99ed5445d2f94a8ef4a2fbc85808f6.tar.bz2
Fix LayoutBox::containingBlockLogicalWidthForPositioned to not return negative values
LayoutBox::containingBlockLogicalWidthForPositioned() avoids to return negative values in a few places, but not when it returns clientLogicalWidth(), which can be a negative value. This patch fixes to return 0 if clientLogicalWidth() is negative. BUG=547598 Review URL: https://codereview.chromium.org/1414483006 Cr-Commit-Position: refs/heads/master@{#357320}
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-available-width-absolute-crash-expected.txt')
-rw-r--r--third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-available-width-absolute-crash-expected.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-available-width-absolute-crash-expected.txt b/third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-available-width-absolute-crash-expected.txt
new file mode 100644
index 0000000..d2a4eaf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-available-width-absolute-crash-expected.txt
@@ -0,0 +1 @@
+* { display: inline; position: absolute; overflow-y: auto; height: fit-content; writing-mode: vertical-rl; } if (window.testRunner) testRunner.dumpAsText();