|
|
Chromium Code Reviews|
Created:
3 years, 9 months ago by yosin_UTC9 Modified:
3 years, 9 months ago CC:
blink-reviews, chromium-reviews, dtapuska+blinkwatch_chromium.org, Navid Zolghadr Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionExpand FrameSelection::isInPasswordFiled() into call sites
This patch expands |FrameSelection::isInPasswordFiled()| into call sites to
avoid to use |computeVisibleSelectionInDOMTreeDeprecated()| for improving code
health.
BUG=698633
TEST=n/a
Review-Url: https://codereview.chromium.org/2734793002
Cr-Commit-Position: refs/heads/master@{#455417}
Committed: https://chromium.googlesource.com/chromium/src/+/a2d360523e94ba92514d45cb9d260c0c3364e5a5
Patch Set 1 : 2017-03-06T15:52:11 #Patch Set 2 : 2017-03-07T11:24:31 #
Messages
Total messages: 42 (24 generated)
Patchset #1 (id:1) has been deleted
The CQ bit was checked by yosin@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.
The CQ bit was checked by yosin@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...
Description was changed from ========== 2017-03-06T15:50:23 2017-03-06T15:49:20 BUG= ========== to ========== Expand FrameSelection::isInPasswordFiled() into call sites This patch expands |FrameSelection::isInPasswordFiled()| into call sites to avoid to use |computeVisibleSelectionInDOMTreeDeprecated()| for improving code health. BUG=698633 TEST=n/a ==========
yosin@chromium.org changed reviewers: + tkent@chromium.org, xiaochengh@chromium.org, yoichio@chromium.org
PTAL Win bots failures are not related this patch. They failed on test_installer.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
lgtm
lgtm, however selection normalization doesn't cross over editing boundaries, and selectionInDOMTree().start() is always ok for isInPasswordField(), right?
On 2017/03/07 at 05:39:57, tkent wrote: > lgtm, however selection normalization doesn't cross over editing boundaries, and selectionInDOMTree().start() is always ok for isInPasswordField(), right? Yes, selection can cross editing boundaries, at this time, user-selection CSS property make selection crossing editing/shadow boundaries.
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
> > lgtm, however selection normalization doesn't cross over editing boundaries, and selectionInDOMTree().start() is always ok for isInPasswordField(), right? > > Yes, selection can cross editing boundaries, at this time, user-selection CSS property make selection crossing editing/shadow boundaries. I didn't talk about whether selection can cross or not. Can a Position inside a text control element be normalized to another Position outside of the text control?
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
On 2017/03/07 at 06:05:58, tkent wrote: > > > lgtm, however selection normalization doesn't cross over editing boundaries, and selectionInDOMTree().start() is always ok for isInPasswordField(), right? > > > > Yes, selection can cross editing boundaries, at this time, user-selection CSS property make selection crossing editing/shadow boundaries. > > I didn't talk about whether selection can cross or not. Sorry for confusion. > Can a Position inside a text control element be normalized to another Position outside of the text control? No. Normalization does not move position in text control outside text control. Once we have user-select:contain. We should have input[type=text]: user-select: content !important
The CQ bit was checked by yosin@chromium.org
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
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by yosin@chromium.org
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
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 yosin@chromium.org
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
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...)
The CQ bit was checked by yosin@chromium.org
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
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1488958145652830,
"parent_rev": "196a572ea1ff4a260f80bb3f96ebd4ffeaed0f71", "commit_rev":
"a2d360523e94ba92514d45cb9d260c0c3364e5a5"}
Message was sent while issue was closed.
Description was changed from ========== Expand FrameSelection::isInPasswordFiled() into call sites This patch expands |FrameSelection::isInPasswordFiled()| into call sites to avoid to use |computeVisibleSelectionInDOMTreeDeprecated()| for improving code health. BUG=698633 TEST=n/a ========== to ========== Expand FrameSelection::isInPasswordFiled() into call sites This patch expands |FrameSelection::isInPasswordFiled()| into call sites to avoid to use |computeVisibleSelectionInDOMTreeDeprecated()| for improving code health. BUG=698633 TEST=n/a Review-Url: https://codereview.chromium.org/2734793002 Cr-Commit-Position: refs/heads/master@{#455417} Committed: https://chromium.googlesource.com/chromium/src/+/a2d360523e94ba92514d45cb9d26... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as https://chromium.googlesource.com/chromium/src/+/a2d360523e94ba92514d45cb9d26... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
