3 ms·
"With modern CSS, WYSIWYG Web design is simply impossible." That is an interesting statement.
by antman 5y ago
"With modern CSS, WYSIWYG Web design is simply impossible." That is an interesting statement.
- c-smile 5y agoMathematically speaking, HTML/CSS renderer: takes HTML+CSS as input and produces rendering. WYSIWYG editor: takes rendering (what you see) and tries to produce HTML+CSS (what you get). With pure HTML (v 3.2, before styles) WYSIWYG was possible as, for example, to change color of the text you had only one option: <FONT color="red">. With CSS you can apply color the span in many ways: you can use any element for span and apply CSS in various ways. Rendering, the direct task, is N(rules) -> 1(rendering). And editing, the opposite task, is 1 -> N. Mathematically speaking this task is unsolvable - has no determined solution.