mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Auto merge of #10176 - mbrubeck:selection-range, r=pcwalton
Highlight selected text in input fields Fixes #9993. This does not yet allow stylesheets to set the selection colors; instead it uses a hard-coded orange background and white foreground. r? @pcwalton <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10176) <!-- Reviewable:end -->
This commit is contained in:
commit
bed91b3334
17 changed files with 264 additions and 77 deletions
|
@ -2540,6 +2540,30 @@
|
|||
"url": "/_mozilla/css/input_placeholder_ref.html"
|
||||
}
|
||||
],
|
||||
"css/input_selection_a.html": [
|
||||
{
|
||||
"path": "css/input_selection_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/input_selection_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/input_selection_a.html"
|
||||
}
|
||||
],
|
||||
"css/input_selection_ref.html": [
|
||||
{
|
||||
"path": "css/input_selection_ref.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/input_selection_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/input_selection_ref.html"
|
||||
}
|
||||
],
|
||||
"css/input_whitespace.html": [
|
||||
{
|
||||
"path": "css/input_whitespace.html",
|
||||
|
@ -8842,6 +8866,30 @@
|
|||
"url": "/_mozilla/css/input_placeholder_ref.html"
|
||||
}
|
||||
],
|
||||
"css/input_selection_a.html": [
|
||||
{
|
||||
"path": "css/input_selection_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/input_selection_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/input_selection_a.html"
|
||||
}
|
||||
],
|
||||
"css/input_selection_ref.html": [
|
||||
{
|
||||
"path": "css/input_selection_ref.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/input_selection_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/input_selection_ref.html"
|
||||
}
|
||||
],
|
||||
"css/input_whitespace.html": [
|
||||
{
|
||||
"path": "css/input_whitespace.html",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue