DescriptionRemove NonSelectableText subclass of Text
We can teach Text::createTextRenderer how to create these special types of text renderers and make make
createTextRenderer non-virtual again. The only reason it exists outside createRenderer was to make it
non-virtual. If we do decide to make it virtual again we should move createRenderer back up to Node and
use that.
Originally I tried to just use a plain Text node but it broke text selection behavior for <input type="button">
because RenderTextFragment had special behavior with an override of canBeSelectionLeaf that made the text
only selectable if the renderer is editable (ex. contenteditable=true around the button).
BUG=265699
Patch Set 1 #Patch Set 2 : Only remove dead class for now #Patch Set 3 : Use createTextRenderer and RenderTextFragment #
Messages
Total messages: 9 (0 generated)
|