Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement :placeholder-shown (fixes #10561) #11572
Conversation
highfive
commented
Jun 3, 2016
highfive
commented
Jun 3, 2016
|
r? @SimonSapin |
|
Err, forgot textarea... |
highfive
commented
Jun 3, 2016
|
New code was committed to pull request. |
highfive
commented
Jun 3, 2016
|
New code was committed to pull request. |
|
Just realised that textarea doesn't support placeholder in Servo yet anyway, so this is ready to be reviewed. |
|
@bors-servo try |
|
|
Implement :placeholder-shown (fixes #10561) <!-- 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/11572) <!-- Reviewable:end -->
|
|
highfive
commented
Jun 3, 2016
|
New code was committed to pull request. |
|
Fixed the geckolib failure. |
|
Reviewed 2 of 6 files at r1, 4 of 4 files at r3, 1 of 1 files at r4. components/script/dom/htmlinputelement.rs, line 721 [r4] (raw file):
Shouldn’t this logic involve "the element has focus" too? Can it be de-duplicated with whatever code decides to show the placholder or not? ports/geckolib/wrapper.rs, line 355 [r4] (raw file):
@bholley @heycam @emilio, This changes Comments from Reviewable |
|
It seems to me that there shouldn't be a problem with the gecko side of this PR. Gecko uses a 64 bit integer to represent state, and in the servo case we crop it to an |
|
Alright, thanks Emilio. (Discussed my other comment with @nox on IRC.) @bors-servo r+ |
|
|
|
|
Implement :placeholder-shown (fixes #10561) <!-- 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/11572) <!-- Reviewable:end -->
|
|
highfive
commented
Jun 7, 2016
|
|
@bors-servo retry |
|
|
|
|
highfive
commented
Jun 7, 2016
|
|
@bors-servo retry |
Implement :placeholder-shown (fixes #10561) <!-- 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/11572) <!-- Reviewable:end -->
|
|
nox commentedJun 3, 2016
•
edited by larsbergstrom
This change is