3 ms·
Mathematically speaking, HTML/CSS renderer: takes HTML+CSS as input and produces rendering. WYSIWYG editor: takes rendering (what you see) and tries to produc
by c-smile 5y ago
Mathematically 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.