diff options
author | Artur Signell <artur@vaadin.com> | 2016-01-02 14:48:55 +0200 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2016-01-04 09:25:24 +0000 |
commit | 62a751d45415d66d13b51a3f11750ababe17a260 (patch) | |
tree | 8c74e949af554661256d4b20e1ef87a29260dcf8 /server/src | |
parent | 82d009eb17da0b089535161833ab646566d8f2c5 (diff) | |
download | vaadin-framework-62a751d45415d66d13b51a3f11750ababe17a260.tar.gz vaadin-framework-62a751d45415d66d13b51a3f11750ababe17a260.zip |
Ensure no unknown attribute warnings are logged in design tests (#19429)
* Adds missing custom attributes to Slider/AbstractEmbedded
Change-Id: I574caf3499ab0681a7c829f89164062eb725013f
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractEmbedded.java | 1 | ||||
-rw-r--r-- | server/src/com/vaadin/ui/Slider.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/AbstractEmbedded.java b/server/src/com/vaadin/ui/AbstractEmbedded.java index d004ca7635..a38e9bb788 100644 --- a/server/src/com/vaadin/ui/AbstractEmbedded.java +++ b/server/src/com/vaadin/ui/AbstractEmbedded.java @@ -108,6 +108,7 @@ public abstract class AbstractEmbedded extends AbstractComponent { protected Collection<String> getCustomAttributes() { Collection<String> c = super.getCustomAttributes(); c.add("alternate-text"); + c.add("alt"); return c; } } diff --git a/server/src/com/vaadin/ui/Slider.java b/server/src/com/vaadin/ui/Slider.java index e85f634ac4..1fd6d425fe 100644 --- a/server/src/com/vaadin/ui/Slider.java +++ b/server/src/com/vaadin/ui/Slider.java @@ -392,6 +392,7 @@ public class Slider extends AbstractField<Double> { protected Collection<String> getCustomAttributes() { Collection<String> result = super.getCustomAttributes(); result.add("orientation"); + result.add("vertical"); return result; } } |