[webkit-dev] MathML Update: Recent Progress

2010-02-08 Thread Alex Milowski
t with the above core those features should be smaller changes based on these pieces as starting points. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand R

[webkit-dev] Troubles with Anonymous Blocks

2010-02-08 Thread Alex Milowski
tor, it almost works. There seem to be situations where the border is drawn short of the overall width--which is a another problem I'm struggling with but may be unrelated to this issue. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions,

[webkit-dev] MathML Component in Bugzilla?

2010-01-29 Thread Alex Milowski
For those in control of Bugzilla, I think it would be a good idea to have a MathML component in Bugzilla just like there is a SVG component. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected b

[webkit-dev] MathML Patch Review Request

2010-01-28 Thread Alex Milowski
- mover, munder, and munderover support * https://bugs.webkit.org/show_bug.cgi?id=34278 - msubsup (super & subscripts) support The first two are quite simple. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of

[webkit-dev] baselinePosition() and zoom factor

2010-01-25 Thread Alex Milowski
Does the return value of the baselinePosition() scale with the zoom factor? -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a f

Re: [webkit-dev] Showing Baseline and Container Box

2010-01-25 Thread Alex Milowski
On Mon, Jan 25, 2010 at 10:31 AM, Maciej Stachowiak wrote: > > It's reasonable to use an ENABLE() flag for debugging features like this, in > my opinion. I don't know if we have any direct precedent. Doesn't ENABLE() require a feature define? -- --Alex Milowski "T

Re: [webkit-dev] Showing Baseline and Container Box

2010-01-25 Thread Alex Milowski
On Mon, Jan 25, 2010 at 10:31 AM, Maciej Stachowiak wrote: > > On Jan 25, 2010, at 10:01 AM, Alex Milowski wrote: > >> For all of my MathML rendering objects I've optionally compiled in a >> simple override to the paint() method to provide a visual representation

[webkit-dev] Showing Baseline and Container Box

2010-01-25 Thread Alex Milowski
rendering object in that subtree that reduces to a RenderBoxModelObject instance. Is there some tool that could do this already or via some modification? -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis

[webkit-dev] XSLT serialize/parse

2010-01-22 Thread Alex Milowski
LT as well as the possibility for incrementally rendering the result. The performance should be better just by removing serialize and parse steps. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected

[webkit-dev] Transforming Content MathML?

2010-01-22 Thread Alex Milowski
. What options do I have for dealing with this multiple layers of transformation (e.g. content MathML -> presentation MathML -> render tree)? -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysi

Re: [webkit-dev] MathML Patch - Current Code

2010-01-21 Thread Alex Milowski
On Thu, Jan 14, 2010 at 8:23 PM, Alex Milowski wrote: > I plan on creating smaller patches that contain code from this patch and > as that gets committed, I'll update this bug with a new patch against the > trunk. > Here's my first patch that splits off some of the

Re: [webkit-dev] Anonymous Rendering Objects in Web Inspector

2010-01-21 Thread Alex Milowski
On Thu, Jan 21, 2010 at 10:43 AM, Dan Bernstein wrote: > > On Jan 21, 2010, at 9:44 AM, Alex Milowski wrote: > >> In my MathML code I often wrap the direct rendering objects for a particular >> element in an anonymous rendering object.  When I inspect these elements &g

[webkit-dev] Anonymous Rendering Objects in Web Inspector

2010-01-21 Thread Alex Milowski
jects used for layout control. Is there some way to see these objects when you inspect the element? Is there another tool I can use to inspect the render object tree? -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the

Re: [webkit-dev] MathML Project Contact etc.

2010-01-15 Thread Alex Milowski
thing the wrong way, ... I'm very pleased with the support I've received from the WebKit community. There are plenty of talking points you won't get from these slides. Feel free to ask me questions. :) -- --Alex Milowski "The excellence of grammar as a guide is proporti

Re: [webkit-dev] MathML Project Contact etc.

2010-01-15 Thread Alex Milowski
On Fri, Jan 15, 2010 at 7:24 AM, Chris Jerdonek wrote: >> Date: Thu, 14 Jan 2010 22:32:11 -0800 >> From: Alex Milowski >> Subject: [webkit-dev] MathML Project Contact etc. >> >> I'm presenting my MathML in WebKit work tomorrow at the Joint AMS/MAA >> meet

Re: [webkit-dev] MathML Project Contact etc.

2010-01-15 Thread Alex Milowski
On Fri, Jan 15, 2010 at 1:03 AM, Zoltan Horvath wrote: > > > On Friday 15 January 2010, at 07:32, Alex Milowski wrote: >> I'm presenting my MathML in WebKit work tomorrow at the Joint AMS/MAA >> meeting here in San Francisco. > > Will somebody record the presen

[webkit-dev] MathML Project Contact etc.

2010-01-14 Thread Alex Milowski
thML+WebKit specific discussions. What's the standard practice for this kind of thing? I could certainly go start a google group for this kind of discussion. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of ana

Re: [webkit-dev] MathML Patch - Current Code

2010-01-14 Thread Alex Milowski
On Thu, Jan 14, 2010 at 8:27 PM, Jeremy Orlow wrote: > On Thu, Jan 14, 2010 at 8:23 PM, Alex Milowski wrote: >> >> I've create a new patch that contains all the current code that I have >> on MathML at: >> >>   https://bugs.webkit.org/show_bug.cgi?id=33703

[webkit-dev] MathML Patch - Current Code

2010-01-14 Thread Alex Milowski
es the previous bug [1] I had for MathML support as the code as change fairly significantly. [1] https://bugs.webkit.org/show_bug.cgi?id=29529 -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected b

[webkit-dev] Custom Baseline?

2010-01-06 Thread Alex Milowski
on the contents. Basically, I want to calculate the "mathematical baseline" for each of my render objects for MathML. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language consi

Re: [webkit-dev] RenderObject is-a boolean methods

2010-01-04 Thread Alex Milowski
rom RenderBlock, for now this seems like the right thing to do. My only other option would be somehow "duplicate" the line layout--which is something I have no justification for right now. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity

[webkit-dev] RenderObject is-a boolean methods

2010-01-04 Thread Alex Milowski
a minimum. ...just a thought. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of Principles of Mathematics ___

[webkit-dev] Another Anonymous RenderObject Mystery

2009-12-17 Thread Alex Milowski
g has gone wrong with the layout of fractions. Any ideas? -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footno

[webkit-dev] Strange Behavior with Anonymous Render Objects

2009-12-17 Thread Alex Milowski
y add exactly one pixel to the width, the mfenced does its layout correctly. Any ideas as to what is going on? -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." B

[webkit-dev] Print vs. Screen Rendering Different for Math

2009-12-17 Thread Alex Milowski
rendering code works in a similar way. Both work on screen but fail with gaps in the print version. I'm sure this has to do with something relating to print stylesheets/etc. but I'm not sure where to start. If anyone has any ideas of where to look or what to look at, please let me k

Re: [webkit-dev] How does Zooming Work?

2009-10-07 Thread Alex Milowski
l have to deal with those problems individually. For now, that fixes my problems with zoom. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Rus

Re: [webkit-dev] How does Zooming Work?

2009-10-07 Thread Alex Milowski
On Tue, Oct 6, 2009 at 9:09 PM, Dan Bernstein wrote: > > On Oct 6, 2009, at 8:49 PM, Alex Milowski wrote: > >> What exactly happens during a zoom (command +/-) ? > > Depends on the flavor of zoom (“full-page” zoom vs. text-only zoom), but in > both cases, a full sty

[webkit-dev] How does Zooming Work?

2009-10-06 Thread Alex Milowski
ter a zoom, it doesn't stretch until layout happens again. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of

[webkit-dev] MathML Project - Interested?

2009-10-05 Thread Alex Milowski
I'd like to work on this MathML project in conjunction with those of you who might be interested in using it in the near future. I'd also welcome any help. If you are interested, even as an observer, let me know. -- --Alex Milowski "The excellence of grammar as a guide is prop

Re: [webkit-dev] Review Flag Requestee field

2009-10-05 Thread Alex Milowski
). > I would like us to consider disabling the requestee field for the review > flag. > Pros: > - less confusion for new contributers I found it very confusing (up until now) in that I was never sure if I should be filling in a value. I'd be happy to see it go. -- --Alex Milows

[webkit-dev] MathML Patch Review Request

2009-10-02 Thread Alex Milowski
patch. This makes the patch larger even though the actual C++ code isn't that large. This patch provides actual support for rendering some basic MathML constructs that are useful. What is there now is just the setup for this rendering code and, without this patch, isn't that useful. -- --A

[webkit-dev] isRenderBlock/etc. Methods

2009-09-24 Thread Alex Milowski
rounded with an #if ENABLE(MATHML) block too, right? -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of

[webkit-dev] Strings & Element Names Question

2009-09-24 Thread Alex Milowski
In my rendering code I have: if (localName() == "mfrac") object = new (arena) RenderFraction(this); Is that better or worse than using MathMLNames::whatever for comparison for element names? In these contexts, I know that the element is a MathML element already. -- --Ale

[webkit-dev] Tracing Style/Layout Changes from Javascript

2009-09-24 Thread Alex Milowski
ender tree? I'm trying to understand how iterative changes are handling in the rendering code and layout. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered.&quo

Re: [webkit-dev] Two Pass Layout?

2009-09-18 Thread Alex Milowski
as nothing than a > series of / operations). Is there a patch I can take a peek at? > I'm not sure how far my experiences > can help you, but let me add some comments: > On Fri, Sep 18, 2009 at 4:45 AM, Alex Milowski wrote: >> >> I'd like to re-oriented the co

[webkit-dev] Two Pass Layout?

2009-09-17 Thread Alex Milowski
w, for (1), bad things happen if the content has no replace content or contains things like an inline-table. That makes me think I'm not really invalidating everything. My thinking on (2) is that if I can do this in handwritten javascript I should be able replicated the cascade of layout change

Re: [webkit-dev] Attaching Additional Semantics to Markup

2009-09-16 Thread Alex Milowski
have an arduous task of scanning documents for MathML islands. I'll have to think about a better use case. Possible something like "graph this, ... import it into Maple, ... ontology/definition lookups". -- --Alex Milowski "The excellence of grammar as a guide is propor

[webkit-dev] Attaching Additional Semantics to Markup

2009-09-15 Thread Alex Milowski
o be at a higher level. What I want to do is add semantics associated with a certain kind of markup. Think of it as a "speak Math" service. Any ideas? -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree

Re: [webkit-dev] MathML Acronym and the Style Guide

2009-09-11 Thread Alex Milowski
ring mathMLName(); > dave Even better. Not an acronym... :) I will update my code's style. Thanks! -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bert

[webkit-dev] MathML Acronym and the Style Guide

2009-09-11 Thread Alex Milowski
d in variable names etc. as they would in a sentence or some other natural language reference. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered.&q

Re: [webkit-dev] mfenced - more MathML questions

2009-09-09 Thread Alex Milowski
wards, you'd stretch the operator (right arrow) to the desired width by stacking glyphs left-to-right. That will cause the next item in the flow to need to be repositioned and that is the same problem I'm having. I can do this in javascript manually and so there must be some way to sa

Re: [webkit-dev] Stretchy Characters

2009-09-09 Thread Alex Milowski
adjustments for the start and end of the stack are different depending on the font used. Is there a precedence for packaging a font with WebKit? -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis

Re: [webkit-dev] mfenced - more MathML questions

2009-09-09 Thread Alex Milowski
cter. I've switched these over to inline-blocks but that hasn't really helped. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footno

Re: [webkit-dev] mfenced - more MathML questions

2009-09-09 Thread Alex Milowski
On Tue, Sep 8, 2009 at 4:30 PM, Alex Milowski wrote: > > The problem of nested fences is much more tricky.  I thought I had a handle on > this with the only odd thing being the need to adjust the fence size after > a layout pass.  You can see this code in the patch [1] and speci

[webkit-dev] Stretchy Characters

2009-09-08 Thread Alex Milowski
acters for Mathematics. The consequence is that you need to have the right fonts or it just doesn't work. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertr

[webkit-dev] mfenced - more MathML questions

2009-09-08 Thread Alex Milowski
the line boxes do not fit, and then overlap happens. Is it possible that just setting the height doesn't help because it is a writing direction layout/width problem? [1] https://bugs.webkit.org/show_bug.cgi?id=28982 [2] https://bugs.webkit.org/attachment.cgi?id=39223&action=prettypatch -

[webkit-dev] MathML Support Goals

2009-09-04 Thread Alex Milowski
ated. Most certainly there are other MathML constructs that need to be supported but I've chosen an initial set based on an informal survey of what is needed to do some basic Mathematics. I'm working on a patch right now. :) -- --Alex Milowski "The excellence of grammar as a guide is pr

Re: [webkit-dev] Inline vs Inline Block and relative positioning for MathML

2009-08-28 Thread Alex Milowski
msubsup myself and layout the line boxes, I'd want to layout the base, find the last line box's right edge, and then layout the superscript and subscript from the same right edge. It is unclear to me exactly how to do that right now and I'd love a simpler example to get a handle on how l

[webkit-dev] Inline vs Inline Block and relative positioning for MathML

2009-08-27 Thread Alex Milowski
he Console in Safari but the actual glyphs rendered are still in the original place. That leads me to believe that a repaint was not actually invoked. Any ideas? I've been digging through the source code for examples but most of the renders seem to either have their own layout code and rely

Re: [webkit-dev] I *HATE* CHANGELOGS!!!

2009-08-26 Thread Alex Milowski
t is, when a change log entry is checked into that special directory, the script runs and checks in a new copy of the ChangeLog text file. The entries would be sorted by date and other metadata (e.g. author's e-mail) and then there would be no real "conflicts". -- --Alex Milow

[webkit-dev] Relative Positioning in layout() for MathML's msubsup

2009-08-26 Thread Alex Milowski
the boxes are placed. Attached is an example with the MathML and a simple example of using Javascript to make the same adjustment. Ignore the fact that my example isn't formatted perfectly! :) -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the

Re: [webkit-dev] Handling Ignorable Text in a Renderer

2009-08-26 Thread Alex Milowski
lement containers in MathML so this will probably work out just fine. Thanks! -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote o

Re: [webkit-dev] Handling Ignorable Text in a Renderer

2009-08-26 Thread Alex Milowski
On Wed, Aug 26, 2009 at 12:06 PM, Alex Milowski wrote: > In certain MathML constructs (e.g. mfenced) there are a number of child > elements that make up the construct and need to be rendered.  Any text > between those child elements should be ignored.  In fact, non-whitespace > text

[webkit-dev] Handling Ignorable Text in a Renderer

2009-08-26 Thread Alex Milowski
anging the attach method to exclude such ignorable text. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of Princ

Re: [webkit-dev] Rendering Help with MathML for mfenced

2009-08-26 Thread Alex Milowski
irstChild()->setNeedsLayoutAndPrefWidthsRecalc(); close->firstChild()->setNeedsLayoutAndPrefWidthsRecalc(); It works perfectly! -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language

[webkit-dev] Rendering Help with MathML for mfenced

2009-08-26 Thread Alex Milowski
= true; } if (doLayoutAgain) { setNeedsLayout(true); RenderObject *current = firstChild(); while (current) { current->setNeedsLayoutAndPrefWidthsRecalc(); cu

<    1   2