Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Issue 103763002: Do not make a subclass of Text only to disable selection. (Closed)

Created:
7 years ago by tkent
Modified:
7 years ago
Reviewers:
esprehn
CC:
blink-reviews, eae+blinkwatch, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, darktears
Visibility:
Public.

Description

Do not make a subclass of Text only to disable selection. We can avoid text selection by adding -webkit-user-select:none to button input elements. We udpate some rendering tests because of slight text color differences and margin selection paint difference. They are acceptable because they are very minor differences. BUG=265699 TEST=Covered by existing tests. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163162

Patch Set 1 #

Patch Set 2 : Remove #include RenderTextFragment.h #

Messages

Total messages: 4 (0 generated)
tkent
7 years ago (2013-12-04 06:35:15 UTC) #1
esprehn
Crazy, I tried this once and it didn't work. See https://codereview.chromium.org/21182003/ Perhaps it was because ...
7 years ago (2013-12-04 06:41:47 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/103763002/20001
7 years ago (2013-12-04 08:27:57 UTC) #3
commit-bot: I haz the power
7 years ago (2013-12-04 10:16:54 UTC) #4
Message was sent while issue was closed.
Change committed as 163162

Powered by Google App Engine
This is Rietveld 408576698