Author: yradtsevich
Date: 2010-01-14 11:04:04 -0500 (Thu, 14 Jan 2010)
New Revision: 19752
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/ve/init.html
Log:
https://jira.jboss.org/jira/browse/JBIDE-5603
Incorrect selection for HTML DOCTYPE
VPE fails if the style of the BODY tag is display:table, it is fixed by setting this style
to the HTML tag.
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/ve/init.html
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/ve/init.html 2010-01-14 16:00:09 UTC (rev
19751)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/ve/init.html 2010-01-14 16:04:04 UTC (rev
19752)
@@ -29,9 +29,15 @@
.__any__tag__none {
display: none;
}
+
+ html {
+ height: 100%;
+ width: 100%;
+ display: table !important;
+ }
#__content__area__ {
- display: table;
+ display:table-cell !important;/*if display:table, VPE will fail*/
width:100%;
height:100%;
min-height:50px;
@@ -58,7 +64,7 @@
font-size: 13.3333px;
line-height:1.6;
-moz-user-select: normal;
- }
+ }
-->
</style>
</head>