mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Implement :placeholder-shown (fixes #10561)
This commit is contained in:
parent
6c5f5d35f5
commit
ff899dc703
7 changed files with 52 additions and 12 deletions
|
@ -352,7 +352,7 @@ impl<'le> TElement for GeckoElement<'le> {
|
|||
|
||||
fn get_state(&self) -> ElementState {
|
||||
unsafe {
|
||||
ElementState::from_bits_truncate(Gecko_ElementState(self.element))
|
||||
ElementState::from_bits_truncate(Gecko_ElementState(self.element) as u16)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue