|
|
Created:
4 years, 3 months ago by malaykeshav Modified:
4 years, 3 months ago CC:
chromium-reviews, einbinder+watch-test-runner_chromium.org, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionModifies the logic to compute the dimensions of the drop down menu
arrow that is used in layout tests. This modification allows the
arrow to look the right size in different device scale factors when
using zoom-for-dsf. This is achieved by using a square drop down
arrow instead of a rectangular one. This logic is similar to what
the native theme engine uses.
BUG=640256
COMPONENT=Test Runners, Mock Web Theme Engine
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/b195fcd2e028db859a382323fad3c6910e3205c4
Cr-Commit-Position: refs/heads/master@{#419930}
Patch Set 1 #Patch Set 2 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #
Total comments: 8
Patch Set 3 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #Patch Set 4 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #Patch Set 5 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #
Total comments: 1
Patch Set 6 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #
Messages
Total messages: 53 (39 generated)
The CQ bit was checked by malaykeshav@chromium.org to run a CQ dry run
malaykeshav@chromium.org changed reviewers: + oshima@chromium.org
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Description was changed from ========== Modifies logic for computing drop down menu arrow's dimensions Modifies the logic to compute the dimensions of the drop down menu arrow that is used in layout tests. This modification allows the arrow to look the right size in different device scale factors when using zoom-for-dsf. BUG=640256 COMPONENT=Test Runners, Mock Web Theme Engine ========== to ========== Modifies logic for computing drop down menu arrow's dimensions Modifies the logic to compute the dimensions of the drop down menu arrow that is used in layout tests. This modification allows the arrow to look the right size in different device scale factors when using zoom-for-dsf. BUG=640256 COMPONENT=Test Runners, Mock Web Theme Engine CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
Description was changed from ========== Modifies logic for computing drop down menu arrow's dimensions Modifies the logic to compute the dimensions of the drop down menu arrow that is used in layout tests. This modification allows the arrow to look the right size in different device scale factors when using zoom-for-dsf. BUG=640256 COMPONENT=Test Runners, Mock Web Theme Engine CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Modifies the logic to compute the dimensions of the drop down menu arrow that is used in layout tests. This modification allows the arrow to look the right size in different device scale factors when using zoom-for-dsf. This is achieved by using a square drop down arrow instead of a rectangular one. This logic is similar to what the native theme engine uses. BUG=640256 COMPONENT=Test Runners, Mock Web Theme Engine ==========
The CQ bit was checked by malaykeshav@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm with nits https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/... File components/test_runner/mock_web_theme_engine.cc (right): https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/... components/test_runner/mock_web_theme_engine.cc:486: (extraParams->menuList.arrowSize + 1) / 2) can you use std::max ? https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/... components/test_runner/mock_web_theme_engine.cc:490: irect.fRight = irect.fLeft + extraParams->menuList.arrowSize; ditto https://codereview.chromium.org/2340633002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp (right): https://codereview.chromium.org/2340633002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp:265: int extraPadding = 3 * box.styleRef().effectiveZoom(); define const for 3 and explain what's in CSS pixel for extra padding. https://codereview.chromium.org/2340633002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp:271: int arrowSize = std::min(arrowBoxWidth, rect.height()) - 2 * extraPadding; 80 chars
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Description was changed from ========== Modifies the logic to compute the dimensions of the drop down menu arrow that is used in layout tests. This modification allows the arrow to look the right size in different device scale factors when using zoom-for-dsf. This is achieved by using a square drop down arrow instead of a rectangular one. This logic is similar to what the native theme engine uses. BUG=640256 COMPONENT=Test Runners, Mock Web Theme Engine ========== to ========== Modifies the logic to compute the dimensions of the drop down menu arrow that is used in layout tests. This modification allows the arrow to look the right size in different device scale factors when using zoom-for-dsf. This is achieved by using a square drop down arrow instead of a rectangular one. This logic is similar to what the native theme engine uses. BUG=640256 COMPONENT=Test Runners, Mock Web Theme Engine CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
The CQ bit was checked by malaykeshav@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Nit changes and rebaseline layout tests https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/... File components/test_runner/mock_web_theme_engine.cc (right): https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/... components/test_runner/mock_web_theme_engine.cc:486: (extraParams->menuList.arrowSize + 1) / 2) On 2016/09/17 at 01:31:21, oshima wrote: > can you use std::max ? Done https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/... components/test_runner/mock_web_theme_engine.cc:490: irect.fRight = irect.fLeft + extraParams->menuList.arrowSize; On 2016/09/17 at 01:31:21, oshima wrote: > ditto Done https://codereview.chromium.org/2340633002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp (right): https://codereview.chromium.org/2340633002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp:265: int extraPadding = 3 * box.styleRef().effectiveZoom(); On 2016/09/17 at 01:31:21, oshima wrote: > define const for 3 and explain what's in CSS pixel for extra padding. Done https://codereview.chromium.org/2340633002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp:271: int arrowSize = std::min(arrowBoxWidth, rect.height()) - 2 * extraPadding; On 2016/09/17 at 01:31:21, oshima wrote: > 80 chars This file doesn't follow the 80 char limit. git cl format puts everything in a single line.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by malaykeshav@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #3 (id:40001) has been deleted
The CQ bit was checked by malaykeshav@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by malaykeshav@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
malaykeshav@chromium.org changed reviewers: + wangxianzhu@chromium.org
PTAL
lgtm.
The CQ bit was checked by malaykeshav@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from oshima@chromium.org Link to the patchset: https://codereview.chromium.org/2340633002/#ps100001 (title: "Modifies logic for computing drop down menu arrow's dimensions and how it is drawn.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2340633002/diff/100001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2340633002/diff/100001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/TestExpectations:366: crbug.com/640256 [ Win ] fast/text/drawBidiText.html [ NeedsRebaseline ] Line 366-375 should be removed because they also fail without patch. This seems related to font configuration on some particular try bots.
The CQ bit was unchecked by wangxianzhu@chromium.org
The CQ bit was checked by malaykeshav@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
malaykeshav@chromium.org changed reviewers: + dpranke@chromium.org
PTAL
lgtm.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
friendly ping @dpranke
lgtm
The CQ bit was checked by malaykeshav@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from oshima@chromium.org Link to the patchset: https://codereview.chromium.org/2340633002/#ps120001 (title: "Modifies logic for computing drop down menu arrow's dimensions and how it is drawn.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #6 (id:120001)
Message was sent while issue was closed.
Description was changed from ========== Modifies the logic to compute the dimensions of the drop down menu arrow that is used in layout tests. This modification allows the arrow to look the right size in different device scale factors when using zoom-for-dsf. This is achieved by using a square drop down arrow instead of a rectangular one. This logic is similar to what the native theme engine uses. BUG=640256 COMPONENT=Test Runners, Mock Web Theme Engine CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Modifies the logic to compute the dimensions of the drop down menu arrow that is used in layout tests. This modification allows the arrow to look the right size in different device scale factors when using zoom-for-dsf. This is achieved by using a square drop down arrow instead of a rectangular one. This logic is similar to what the native theme engine uses. BUG=640256 COMPONENT=Test Runners, Mock Web Theme Engine CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/b195fcd2e028db859a382323fad3c6910e3205c4 Cr-Commit-Position: refs/heads/master@{#419930} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/b195fcd2e028db859a382323fad3c6910e3205c4 Cr-Commit-Position: refs/heads/master@{#419930} |