Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
19
gaia/dev_apps/uitest/js/UI/css_dimension.js
Executable file
19
gaia/dev_apps/uitest/js/UI/css_dimension.js
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
'use strict';
|
||||
|
||||
function css_dimension_test() {
|
||||
var bar_inch = document.getElementById('bar_inch');
|
||||
var bar_mm = document.getElementById('bar_mm');
|
||||
var bar_px = document.getElementById('bar_px');
|
||||
var bar_mozmm = document.getElementById('bar_mozmm');
|
||||
|
||||
bar_inch.style.width = '1in';
|
||||
bar_inch.style.backgroundColor = '#00FF00';
|
||||
bar_mm.style.width = '25.4mm';
|
||||
bar_mm.style.backgroundColor = '#00DD44';
|
||||
bar_px.style.width = '96px';
|
||||
bar_px.style.backgroundColor = '#00BB88';
|
||||
bar_mozmm.style.width = '25.4mozmm';
|
||||
bar_mozmm.style.backgroundColor = '#0099CC';
|
||||
}
|
||||
|
||||
window.addEventListener('load', css_dimension_test);
|
||||
Loading…
Reference in a new issue