<div dir="ltr"><div><div><div>I believe SVG distinguishes between 'presentation attributes' which are those which can be styled and other attributes. Strictly speaking, css properties (cssdom) are independant from html element attributes (and I believe DOM node properties) but are often mapped to each other. There is always the style attribute for any html element to access css properties. x3d nodes would not need a style field since there would not be any fields which can only be accessed via css. But there still would be an expectation by web authors to have a style attribute for x3d nodes if x3d gets css.<br><br></div>Should fields of any geometry node be stylable ? Morph geometries ?<br><br></div>Should html pseudo classes (:hover ..) be supported ? css selectors are very powerful (and because of that sometimes considered slow) and the dom now also can use them with .querySelectorAll().<br><br></div><div>Probably, all node manipulation via css would need to be translated into equivalent SAI method sequences. There is initialization time manipulation but style changes could also be dynamic.<br></div><div><br></div>-Andreas<u><br><br></u></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 6, 2017 at 11:14 AM, John Carlson <span dir="ltr"><<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">I think we should figure out what we want to show without styles and that will be the dividing line between what's styled and what's not.<div dir="auto"><br></div><div dir="auto">Wireframes? Basic geometry and transforms without color? Images? </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Feb 6, 2017 11:00 AM, "Joe D Williams" <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
...closing-the-gap-between-htm<wbr>l-and-webgl/<br>
</blockquote>
<br>
yes, in this case the gap between webgl and html is the html dom. The efforts are how to get webgl functionalities into a state where features of webgl can be integrated into the dom (or any event-driven scenegraph), An example is touchsensor where the javascript platform gives access to webgl functionalities and communicates with the html using dom interfaces.<br>
<br>
This is essentially what x3d does - adding author support for basic stuff like an object model for the scenegraph structures and a timestamped cascade event system regardless whether the underlying system is webgl or ogl; Sometimes when people are inventing this stuff, I hope they would look at some x3d. I'm sure the x3dom and cobweb and other great javascript supporting the ongoing intergration of x3d and html gibes some hints.<br>
<br>
The point with css is that it is a very convenient way to control certain aspects of the scene. And, the current css with html shows that it is possible to rebuild an html browser to do css operations using mostly standard dom interfaces.<br>
<br>
Thanks and Best,<br>
Joe<br>
<br>
----- Original Message ----- From: "John Carlson" <<a href="mailto:john.carlson3@sbcglobal.net" target="_blank">john.carlson3@sbcglobal.net</a>><br>
To: "Joe D Williams" <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>><br>
Sent: Sunday, February 05, 2017 10:06 AM<br>
Subject: Re: [x3dom-users] CSS bindings for <x3d> ...</x3d><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Here's one take on the issue: <a href="http://learningthreejs.com/blog/2013/04/30/closing-the-gap-between-html-and-webgl/" rel="noreferrer" target="_blank">http://learningthreejs.com/blo<wbr>g/2013/04/30/closing-the-gap-b<wbr>etween-html-and-webgl/</a><br>
<br>
<br>
On Feb 5, 2017 12:27 PM, John Carlson <<a href="mailto:john.carlson3@sbcglobal.net" target="_blank">john.carlson3@sbcglobal.net</a>> wrote:<br>
<br>
 I think the issue may be, how well is CSS integrated with canvas/webgl. Â  Do we have to provide another implementation?<br>
<br>
<br>
</blockquote>
<br>
<br>
______________________________<wbr>_________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listi<wbr>nfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>
<br>------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world's most<br>
engaging tech sites, SlashDot.org! <a href="http://sdm.link/slashdot" rel="noreferrer" target="_blank">http://sdm.link/slashdot</a><br>______________________________<wbr>_________________<br>
X3dom-users mailing list<br>
<a href="mailto:X3dom-users@lists.sourceforge.net">X3dom-users@lists.sourceforge.<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/x3dom-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/x3dom-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div>