mirror of
https://github.com/servo/servo
synced 2026-04-28 10:27:40 +02:00
script: Implement shadow tree for file input (#43498)
script: Implement shadow tree for file input File inputs also now support ::file-selector-button Testing: Existing WPTs Fixes: https://github.com/servo/servo/issues/39565 Stylo PR: https://github.com/servo/stylo/pull/341 Signed-off-by: Luke Warlow <lwarlow@igalia.com> Co-authored-by: Vasiluță Mihai-Alexandru <alexv@siluta.me>
This commit is contained in:
@@ -889,8 +889,7 @@ impl HTMLInputElement {
|
||||
InputType::Radio(_) |
|
||||
InputType::Image(_) |
|
||||
InputType::Hidden(_) |
|
||||
InputType::Range(_) |
|
||||
InputType::File(_) => input_type.as_specific().value_for_shadow_dom(self),
|
||||
InputType::Range(_) => input_type.as_specific().value_for_shadow_dom(self),
|
||||
_ => {
|
||||
if let Some(attribute_value) = self
|
||||
.upcast::<Element>()
|
||||
|
||||
Reference in New Issue
Block a user