aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-04-23 10:36:44 +0300
committerArtur Signell <artur@vaadin.com>2013-04-23 10:41:09 +0300
commitfeb9a8c3510afc76c079fafcd9e507205bde139c (patch)
treec708580ae8fcce1a96f60604e2c91c7181e7d949 /WebContent
parent184114b0881a5323139e5cafd6bd7e5c04afd8e2 (diff)
downloadvaadin-framework-feb9a8c3510afc76c079fafcd9e507205bde139c.tar.gz
vaadin-framework-feb9a8c3510afc76c079fafcd9e507205bde139c.zip
Different fix for #11152 which is restricted to the problematic case in horizontal layout
Change-Id: I4727f0a8f0b82f14f059c7e47a1819a18630a4c0
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/common/common.scss6
-rw-r--r--WebContent/VAADIN/themes/base/layout/layout.scss5
2 files changed, 5 insertions, 6 deletions
diff --git a/WebContent/VAADIN/themes/base/common/common.scss b/WebContent/VAADIN/themes/base/common/common.scss
index d6dfed11df..e7fdd3fe84 100644
--- a/WebContent/VAADIN/themes/base/common/common.scss
+++ b/WebContent/VAADIN/themes/base/common/common.scss
@@ -204,12 +204,6 @@ body &.v-app-loading {
padding: 2px;
}
-/* Fix for IE9 caret bug #11152 */
-input,
-textarea {
- position: relative;
-}
-
.v-drag-element {
z-index: 60000;
/* override any other position: properties */
diff --git a/WebContent/VAADIN/themes/base/layout/layout.scss b/WebContent/VAADIN/themes/base/layout/layout.scss
index d49b2ad0dd..049c527518 100644
--- a/WebContent/VAADIN/themes/base/layout/layout.scss
+++ b/WebContent/VAADIN/themes/base/layout/layout.scss
@@ -105,6 +105,11 @@ div.v-layout.v-horizontal.v-widget {
height: 100%;
}
+/* Workaround for IE8+IE9 bug where clicking inside an input area which is inside a div with negative margin causes cursor position to jump to wrong position. See #11152 */
+.v-horizontal > .v-expand > .v-slot {
+ position: relative;
+}
+
.v-vertical > .v-spacing,
.v-vertical > .v-expand > .v-spacing {
width: 0;