diff options
author | Artur Signell <artur@vaadin.com> | 2016-01-02 14:48:55 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-01-05 14:06:44 +0200 |
commit | 7e21d62e0180581b1c3642e8b84d3cfe8bc6d187 (patch) | |
tree | bedf47fe454cffcf9cc45781be6e7acabeec39a0 /server/src/com | |
parent | 29a368d0f7efe24237b36e716e1c59418073163f (diff) | |
download | vaadin-framework-7e21d62e0180581b1c3642e8b84d3cfe8bc6d187.tar.gz vaadin-framework-7e21d62e0180581b1c3642e8b84d3cfe8bc6d187.zip |
Ensure no unknown attribute warnings are logged in design tests (#19429)
* Adds missing custom attributes to Slider/AbstractEmbedded
Change-Id: Iad6c963bdc4334630c613995b9c0f0555d5d19a8
Diffstat (limited to 'server/src/com')
-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; } } |